<?php

namespace app\index\model;

use think\Model;

class TestesModel extends Model

{
    protected $table = 'testes';

    public  function getTestess()
    {
        return $this
            ->order('id', 'desc')
            ->select();
    }

}
